import request from '@/plugin/axios'
import util from '@/libs/util.js'

// @/api/mch.mailinfo

export default {

	list (data) {
		return request({
			url: 'mchemailinfo/list',
			headers: {},
			method: 'post',
			data,
		});
	},

	info (data) {
		return request({
			url: 'mchemailinfo/info',
			headers: {},
			method: 'post',
			data,
		});
	},

	add (data) {
		return request({
			url: 'mchemailinfo/add',
			headers: {},
			method: 'post',
			data,
		});
	},

	set (data) {
		return request({
			url: 'mchemailinfo/set',
			headers: {},
			method: 'post',
			data,
		});
	},

	del (data) {
		return request({
			url: 'mchemailinfo/del',
			headers: {},
			method: 'post',
			data,
		});
	},

	getSendTypeInfoList (data = {}) {

		return request({
			url: 'emailsendtypeinfo/list',
			headers: {},
			method: 'post',
			data,
		});
	},
	
};